package com.sxt.bus.vo;

import com.sxt.bus.entity.Goods;

public class GoodsVo extends Goods {
    private static final long serialVersionUID=1L;    //序列化id,为了反序列化而去使用的
    private Integer page;
    private Integer limit;
    private Integer[] ids;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer[] getIds() {
        return ids;
    }

    public void setIds(Integer[] ids) {
        this.ids = ids;
    }

    public GoodsVo(Integer id, String goodsname, Integer providerid, String providername, String produceplace, String size, String goodspackage, String productcode, String promitcode, String description, Double price, Integer number, Integer dangernum, String goodsimg, Integer available, Integer page, Integer limit, Integer[] ids) {
        super(id, goodsname, providerid, providername, produceplace, size, goodspackage, productcode, promitcode, description, price, number, dangernum, goodsimg, available);
        this.page = page;
        this.limit = limit;
        this.ids = ids;
    }

    public GoodsVo(Integer page, Integer limit, Integer[] ids) {
        this.page = page;
        this.limit = limit;
        this.ids = ids;
    }

    public GoodsVo() {
    }
}
